import request from '@/utils/request.js'
import qs from 'qs'
//https://ys.endata.cn/enlib-api/api/movie/getMovie_HeadDetailByMovieID.do
function GetmovieInfo(data){
	return request.post("/enlib-api/api/movie/getMovie_HeadDetailByMovieID.do", qs.stringify(data), {
		headers: {
			"Content-Type": "application/x-www-form-urlencoded"
		}
	})
}
//https://ys.endata.cn/enlib-api/api/movie/getMovie_HeadBoxOfficeByMovieID.do
function GetmovieData(data){
	return request.post("/enlib-api/api/movie/getMovie_HeadBoxOfficeByMovieID.do", qs.stringify(data), {
		headers: {
			"Content-Type": "application/x-www-form-urlencoded"
		}
	})
}
export {GetmovieInfo,GetmovieData}